import layout from '@/layout'
// import baseTaskRouter from "./baseTask";
const taskUiRouter = {
  path: '/baseTask',
  component: layout,
  redirect: '/baseTask/taskType',
  name: 'baseTask',
  meta: {
    title: '基础数据'
  },
  children: [
    {
      path: 'taskType',
      name: 'TaskType',
      component: () => import('@/views/taskUi/baseTask/taskType'),
      meta: {
        title: '任务类型管理'
      }
    },
    {
      path: 'taskList',
      name: 'TaskList',
      component: () => import('@/views/taskUi/baseTask/taskList'),
      meta: {
        title: '任务属性管理'
      }
    },
    {
      path: 'taskNotice/1',
      name: 'TaskNotice',
      component: () => import('@/views/taskUi/baseTask/taskNotice'),
      meta: {
        title: '任务通知配置'
      }
    },
    {
      path: 'taskNotice/0',
      name: 'TaskNotice',
      component: () => import('@/views/taskUi/baseTask/taskNotice'),
      meta: {
        title: '我的任务通知'
      }
    },
    {
      path: 'taskAction',
      name: 'TaskAction',
      component: () => import('@/views/taskUi/baseTask/taskAction'),
      meta: {
        title: '任务操作配置'
      }
    }
  ]
}

export default taskUiRouter
